<?php 
if(!isset($_SESSION)) 
	{ 
		session_start(); 
	}
$listpurchas=$_SESSION['listpurchase'];
include '../operations/connection.php';	
?>
<div style="float:left">
						<input onkeypress="return focusOnMyInputBox(event,'name1');" type="text" size="30" value="<?=$listpurchase[0][2]?>" name="companyname" id="inputString"  style="height: 24px; width: 300px; border: 1px solid #c4c0c9" />
						<div class="suggestionsBox" id="suggestions" style="display:none;">
							<img src="images/upArrow.png" style="position: relative; top: -12px; left: 30px;" alt="upArrow" />
							<div class="suggestionList" id="autoSuggestionsList">
								&nbsp;
							</div>
						</div> 						
					</div>
					<div style=" float:left; position:relative; margin-top: 5px; margin-left: -21px">
						<img alt="" src="../images/arrow-down.png" id="menu_expand" >
					    <div id="content_menu_expand" class="passul">
					        <ul>
					        <?php 
					    		$sql="select ac_customer.CustomerName from ac_customer where ac_customer.Activest=1";
								$result = mysql_query($sql);
								
								if($result)
								{
									$i=0;
									while($row=mysql_fetch_array($result))
									{
										?>
										<li
											<?php 
												if($i%2!=0){
													?>
													class="bgkhac"
													<?php 
												}
											?>
										
										><a onclick="clickCustomer('<?=$row['CustomerName']?>')"><?php echo $row['CustomerName'];?></a></li>
										<?php 
										$i++;
									}
								}
					    	?>
					        </ul>
					    </div>
					</div>